package com.burstly.lib.component.networkcomponent.burstly.html;

import android.content.Context;
import android.view.MotionEvent;
import android.widget.FrameLayout;
import android.widget.FrameLayout.LayoutParams;
import android.widget.ProgressBar;
import com.burstly.lib.util.Utils;

class LoadingBarView extends FrameLayout
{
  LoadingBarView(Context paramContext)
  {
    super(paramContext);
    setBackgroundColor(-7829368);
    createLoadingBar(paramContext);
    int i = Utils.getFillparentValue();
    setLayoutParams(new FrameLayout.LayoutParams(i, i));
  }

  private void createLoadingBar(Context paramContext)
  {
    try
    {
      ProgressBar localProgressBar = new ProgressBar(paramContext, null, 16842874);
      localProgressBar.setLayoutParams(new FrameLayout.LayoutParams(-2, -2, 17));
      localProgressBar.willNotCacheDrawing();
      addView(localProgressBar);
      return;
    }
    catch (Exception localException)
    {
    }
  }

  public boolean onTouchEvent(MotionEvent paramMotionEvent)
  {
    return true;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.burstly.lib.component.networkcomponent.burstly.html.LoadingBarView
 * JD-Core Version:    0.6.2
 */